package com.szw.dlyk.service;

import com.github.pagehelper.PageInfo;
import com.szw.dlyk.domain.Clue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szw.dlyk.query.ClueQuery;

import java.io.InputStream;

/**
* @author asus
* @description 针对表【t_clue(线索表)】的数据库操作Service
* @createDate 2024-01-21 18:16:51
*/
public interface ClueService extends IService<Clue> {

    PageInfo<Clue> getClueByPage(Integer current);

    void importExcel(InputStream inputStream, String token);

    Boolean checkPhone(String phone);

    int saveClue(ClueQuery clueQuery);

    Clue getClueById(Integer id);

    int updateClue(ClueQuery clueQuery);
}
